package com.sgsg.statemodule;

import android.util.Log;

class AfternoonState extends State {

    @Override
    public void writeProgram(Work w) {
        if(w.getHour()<17){
            Log.i("tag","当前时间："+w.getHour()+"----下午状态不错，继续努力");
        }else{
            w.setState(new EveningState());
            w.writeProgram();
        }
    }
}
